import java.util.ArrayList;

public class Commande {
	int nom;
	int ValeurCmd;
	ArrayList<Ressource> ressourceNecessaire;
	
	public Commande() {
		nom = 0;
		ValeurCmd = 0;
		ressourceNecessaire = new ArrayList<Ressource>();
	}
	public Commande(int n, int v,
			ArrayList<Ressource> r) {
		nom = n;
		ValeurCmd = v;
		ressourceNecessaire = r;
	}
	public int getNom() {
		return nom;
	}
	public void setNom(int nom) {
		this.nom = nom;
	}
	public int getValeurCmd() {
		return ValeurCmd;
	}
	public void setValeurCmd(int valeurCmd) {
		ValeurCmd = valeurCmd;
	}
	public ArrayList<Ressource> getRessourceNecessaire() {
		return ressourceNecessaire;
	}
	public void setRessourceNecessaire(ArrayList<Ressource> ressourceNecessaire) {
		this.ressourceNecessaire = ressourceNecessaire;
	}
	public String toString() {
		return "Commande [nom=" + nom + ", ValeurCmd=" + ValeurCmd
				+ ", ressourceNecessaire=" + ressourceNecessaire + "]";
	}


}
